<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>RT-Thread RTOS: rt_messagequeue Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">RT-Thread RTOS
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">An open source embedded real-time operating system</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structrt__messagequeue.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">rt_messagequeue Struct Reference<div class="ingroups"><a class="el" href="group___i_p_c.html">Inter-Thread Communication</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;rtdef.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a24763c7e54bb3f4783daf3fb9c103dfe"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structrt__ipc__object.html">rt_ipc_object</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#a24763c7e54bb3f4783daf3fb9c103dfe">parent</a></td></tr>
<tr class="separator:a24763c7e54bb3f4783daf3fb9c103dfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add66b801d59516f96b5657f820db545c"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#add66b801d59516f96b5657f820db545c">msg_pool</a></td></tr>
<tr class="separator:add66b801d59516f96b5657f820db545c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63b5552f40bacdf02983bf9cf4cad24d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#a63b5552f40bacdf02983bf9cf4cad24d">msg_size</a></td></tr>
<tr class="separator:a63b5552f40bacdf02983bf9cf4cad24d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac14765aec551079b253e817ff8e5373b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#ac14765aec551079b253e817ff8e5373b">max_msgs</a></td></tr>
<tr class="separator:ac14765aec551079b253e817ff8e5373b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad92b222d4d0dce750c9055f0499988c1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#ad92b222d4d0dce750c9055f0499988c1">entry</a></td></tr>
<tr class="separator:ad92b222d4d0dce750c9055f0499988c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf1a21b9e2f00b53544ed695e4d2aacc"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#aaf1a21b9e2f00b53544ed695e4d2aacc">msg_queue_head</a></td></tr>
<tr class="separator:aaf1a21b9e2f00b53544ed695e4d2aacc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c28b474eea1aaacfc75e870dbd50162"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#a3c28b474eea1aaacfc75e870dbd50162">msg_queue_tail</a></td></tr>
<tr class="separator:a3c28b474eea1aaacfc75e870dbd50162"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af45a62f5084904df25be7d63b2252c85"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structrt__messagequeue.html#af45a62f5084904df25be7d63b2252c85">msg_queue_free</a></td></tr>
<tr class="separator:af45a62f5084904df25be7d63b2252c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>message queue structure </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a24763c7e54bb3f4783daf3fb9c103dfe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structrt__ipc__object.html">rt_ipc_object</a> rt_messagequeue::parent</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>inherit from ipc_object </p>

</div>
</div>
<a class="anchor" id="add66b801d59516f96b5657f820db545c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rt_messagequeue::msg_pool</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>start address of message queue </p>

</div>
</div>
<a class="anchor" id="a63b5552f40bacdf02983bf9cf4cad24d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a> rt_messagequeue::msg_size</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>message size of each message </p>

</div>
</div>
<a class="anchor" id="ac14765aec551079b253e817ff8e5373b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a> rt_messagequeue::max_msgs</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>max number of messages </p>

</div>
</div>
<a class="anchor" id="ad92b222d4d0dce750c9055f0499988c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a> rt_messagequeue::entry</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>index of messages in the queue </p>

</div>
</div>
<a class="anchor" id="aaf1a21b9e2f00b53544ed695e4d2aacc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rt_messagequeue::msg_queue_head</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>list head </p>

</div>
</div>
<a class="anchor" id="a3c28b474eea1aaacfc75e870dbd50162"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rt_messagequeue::msg_queue_tail</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>list tail </p>

</div>
</div>
<a class="anchor" id="af45a62f5084904df25be7d63b2252c85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* rt_messagequeue::msg_queue_free</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>pointer indicated the free node of queue </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structrt__messagequeue.html">rt_messagequeue</a></li>
    <li class="footer">Generated on Mon Jan 6 2014 23:05:02 for RT-Thread RTOS by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
